﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PBOffice.BLL;
using PBOffice.DAL;

public partial class DesktopControls_MyNotes : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
		var um = new NoteManagerBLL();
		dlNotes.DataSource = um.ShowNote((Session["userManage"] as User).UserNo).Take(5);
		dlNotes.DataBind();

    }
}